How to target first and last elements of a class

join shbcf.ru